import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'

export default defineConfig({
  plugins: [vue()],
  server: {
    port: 3000
  },
  build: {
    target: 'esnext',
    transpile: ['compress.js'] // 添加这一行以转译 compress.js
  }
})
